<ul id="main_menu">
	<li id="yp_logo">
		<a href="javascript:void(0);"><img src="gui/yp_hand.gif" alt="" /></a>
		<ul>
			<li><a href="javascript:void(0)" onclick="showAboutYP();">O firmi...</a></li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0);">Administracija</a>
		<ul class="large">
			<li class="sub">
				<a href="javascript:void(0);">Korisnik</a>
				<ul>
					<li><span title="{{$user_last_login}}">{{$user_ime}}&nbsp;{{$user_prezime}}</span><!-- {{$user_level}}--></li>
					<li><a href="javascript:void(0)" onclick="logout();">logout</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)" onclick="LoadRSDoc('delatnosti.php','setContent');">Delatnosti</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('delatnosti.php','setContent');">Pregled Delatnosti</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('kategorije.php','setContent');">Administriranje Kategorije</a><li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)" onclick="LoadRSDoc('artikli.php?a=show','setContent');">Artikli</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('artikli.php?a=show','setContent');">Pregled</a></li>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('artikli.php?a=show_t','setContent');">Tipovi artikala</a></li>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('artikli.php?a=show_g','setContent');">Grupe artikala</a></li>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('artikli.php?a=show_b','setContent');">Boje artikala</a></li>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('artikli.php?a=show_p','setContent');">Paketi artikala</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)" onclick="LoadRSDoc('banke.php?a=show','setContent');">Banke</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('banke.php?a=show','setContent');">Pregled</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)" onclick="LoadRSDoc('porezi.php?a=show','setContent');">Porezi</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('porezi.php?a=show','setContent');">Pregled</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)" onclick="LoadRSDoc('jedinice_mere.php','setContent');">Jedinice Mere</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('jedinice_mere.php','setContent');">Pregled</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0);" onclick="LoadRSDoc('cenovnik.php','setContent')">Cene</a>
				<ul>
					<li><a href="javascript:void(0)" onclick="novaCena();" class="new">Nova</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('cenovnik.php','setContent')">Administracija</a></li>
					<li class="separator">&nbsp;</li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('cenovnik.php?a=show_c','setContent')">Cenovnici</a></li>
					
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0);">Geopolitičke grupacije</a>
				<ul>
					<li><a href="javascript:void(0)">Ulice</a></li>
					<li><a href="javascript:void(0)">Regioni</a></li>
					<li><a href="javascript:void(0)">Opštine</a></li>
					<li><a href="javascript:void(0)">Lokacije</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0);">Komitenti</a>
		<ul>
		<li><a class="new" href="javascript:void(0);" onclick="LoadRSDoc('komitenti.php?a=new','setContent')">Novi...</a></li>
			<li class="sub">
				<a class="search" href="javascript:void(0)">Pretraga</a>
				<ul>
					<li>
						<form style="padding:0px; float:none; margin:0px;" method="post" action="javascript:void(0)" onsubmit="var k=this.search_name; if(k.value.length){searchKomitent(this,'ime',k.value)}else{k.focus();k.select()}">
							<label for="search_name">Po imenu:</label><input name="search_name" id="search_name" type="text" />
							<input type="submit" value="traži" class="submit" />
						</form>
					</li>
					<li>
						<form style="padding:0px; float:none; margin:0px;" method="post" action="javascript:void(0)" onsubmit="var k=this.search_sifra; if(k.value.length){searchKomitent(this,'sifra',k.value)}else{k.focus();k.select()}">
							<label for="search_sifra">Po šifri:</label><input name="search_sifra" id="search_sifra" type="text" />
							<input type="submit" value="traži" class="submit" />
						</form>
					</li>
				</ul>
			</li>
			<li><a href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php','setContent')">Pregled</a></li>
			<li class="sub">
				<a href="javascript:void(0)">Tipovi</a>
				<ul>
					<li><a class="new" href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php?a=newType&t=type','setContent')">Novi...</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php?a=types','setContent')">Administracija</a></li>
				</ul>
			</li>
			<li class="sub">
				<a href="javascript:void(0)">Strukture</a>
				<ul>
					<li><a class="new" href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php?a=newType&t=struct','setContent')">Novi...</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('komitenti.php?a=struct','setContent')">Administracija</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0)">Bez ugovora</a></li>
			<li><a href="javascript:void(0)">Sa ugovorom</a></li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0)">Ugovori</a>
		<ul>
			<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=izdaj','setContent')">Izdavanje</a></li>
			<li class="sub">
				<a href="javascript:void(0)" onClick="LoadRSDoc('ugovori.php?a=ulaz','setContent')">Ulaz</a>
				<ul>
					<li><a href="javascript:void(0)" onClick="LoadRSDoc('ugovori.php?a=ulaz','setContent')">Ugovora</a></li>
					<li><a href="javascript:void(0)" onClick="LoadRSDoc('ugovori.php?a=ulaz_mat','setContent')">Materijala</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=unos','setContent')">Unos</a></li>
			<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=pregled','setContent')">Pregled</a></li>
			<li class="sub">
				<a href="javascript:void(0)">Izveštaji</a>
				<ul>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=report&t=1','setContent')">Izdati ugovori</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=report&t=2','setContent')">Ušli ugovori</a></li>
					<li><a href="javascript:void(0)" onclick="LoadRSDoc('ugovori.php?a=report&t=5','setContent')">Ušli materijali</a></li>
					<li>
						<form style="padding:0px; float:none; margin:0px;" action="javascript:void(0)" onsubmit="var rep = this.report_radnik_name; if(rep.value.length){LoadRSDoc('ugovori.php?a=report&t=3&radnik='+rep.value,'ypAjaxForm');}else{rep.focus();} " method="get">
							<label for="report_radnik_name">Radnik:</label>
							<input type="text" name="report_radnik_name" />
							<input type="submit" value="go" class="submit" />
						</form>
					</li>
				</ul>
			</li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0)">Radnici</a>
		<ul>
			<li><a class="new" href="javascript:void(0);" onclick="LoadRSDoc('radnici.php?a=new','setContent')">Novi...</a></li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('radnici.php','setContent');">Administracija</a></li>
			<li class="separator">&nbsp;</li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('radnici_grupe.php','setContent');">Grupe</a></li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('radnici_radni_odnos.php','setContent');">Radni odnosi</a></li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('radnici_sprema.php','setContent');">Sprema</a></li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('radnici_tipovi.php','setContent');">Tipovi radnika</a></li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0);">Rokovnik</a>
		<ul>
			<li class="sub">
				<a href="javascript:void(0);" onclick="LoadRSDoc('rokovnik.php','setContent')">Telemarketing</a>
				<ul>
					<li><a href="javascript:void(0);" onclick="LoadRSDoc('rokovnik.php?a=adminCalls','setContent')">Današnj pozivi...</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);" onclick="LoadRSDoc('rokovnik.php?a=manager','setContent')">Menadžer</a></li>
		</ul>
	</li>
	<li>
		<a href="javascript:void(0)">Opcije</a>
		<ul>
			{{$options}}
			<li><a href="javascript:void(0);" onclick="window.print();">Štampaj...</a></li>
		</ul>
	</li>
	<li id="history_nav">
		<input type="button" id="history_back" onclick="historyBack()" value="<<" title="nazad" disabled="disabled" />
		<input type="button" onclick="historyShow()" value="history" style="display:none;" />
		<input type="button" id="history_forward" onclick="historyForward()" value=">>" title="napred" disabled="disabled" />
	</li>
</ul>